<?php
namespace Home\Controller;
use Think\Controller;
class ZhucheController extends Controller {
    public function index(){
  
    	echo "这是一个注册首页";


        $res=M('stu')->where('sex="男"')->find();

        // foreach ($res as $k => $v) {
        //    $this->assign();
        // }



        $this->assign('abc',$res);

        $this->display();




    }


   






}